Function isBinString

  • For use before binStringToBin. Returns true if the provided string is a valid binary string (length is divisible by 8 and only uses the characters 0 and 1).

    Parameters

    • maybeBinString: string

      a string to test

    Returns boolean

Generated using TypeDoc