Function assertIsPrimitive

  • Asserts that the given value is a primitive.

    Parameters

    • value: unknown
    • OptionalfailureMessage: string

    Returns asserts value is Primitive