core.common.typing#

Copyright (c) Meta Platforms, Inc. and affiliates.

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Attributes#

_T

Functions#

assert_is_instance(→ _T)

none_throws(→ _T)

Module Contents#

core.common.typing._T#
core.common.typing.assert_is_instance(obj: object, cls: type[_T]) _T#
core.common.typing.none_throws(x: _T | None, msg: str | None = None) _T#