text: 'use strict';
  
  import isBoolean from '@valkyriestudios/utils/boolean/is';
  
  export default function vBoolean (val, equals = null) {
      return (isBoolean(val) && (equals !== null))
          ? (!!val === !!equals)
          : isBoolean(val);
  }
  