function test( value ) {
	try {
		return (
			// Objects created via `Object.create( null )` have no `valueOf()` method:
			typeof value.valueOf() === 'bigint'
		);
	} catch ( err ) { // eslint-disable-line no-unused-vars
		return false;
	}
}
Attempts to call a `BigInt` method.

@private
@param {*} value - value to test
@returns {boolean} boolean indicating if able to call a `BigInt` method