@hexafuchs/what.js
    Preparing search index...

    Variable assertIsYesConst Alias

    assertIsYes: (value: unknown) => void = assertIsAccepted

    Type declaration

      • (value: unknown): void
      • Alias

        Asserts the value is a value that expresses acceptance.

        This includes everything that can be converted with String(value) and has one of these values in lowercase:

        • true
        • t
        • yes
        • y
        • on
        • 1

        assertIsAccepted

        Parameters

        • value: unknown

        Returns void