• Returns true if the given argument is a boolean

    Example

    isBoolean('foo bar'); // false
    

    Example

    isBoolean(false); // true
    

    Parameters

    • arg: unknown

    Returns arg is boolean

Generated using TypeDoc