Type guard to ensure the parameter passed it of type Array; uses Array.isArray to check if the passed arg is an Array; does not validate if the array is actually readonly.
Type to check
True if the type is an readonly array other wise false
Type guard to ensure the parameter passed it of type Array; uses Array.isArray to check if the passed arg is an Array; does not validate if the array is actually readonly.