libraries/bugcore/js/src/query/interfaces/ICondition.js
/*
* Copyright (c) 2016 airbug Inc. http://airbug.com
*
* bugcore may be freely distributed under the MIT license.
*/
//-------------------------------------------------------------------------------
// Annotations
//-------------------------------------------------------------------------------
//@Export('ICondition')
//@Require('Interface')
//-------------------------------------------------------------------------------
// Context
//-------------------------------------------------------------------------------
require('bugpack').context("*", function(bugpack) {
//-------------------------------------------------------------------------------
// BugPack
//-------------------------------------------------------------------------------
var Interface = bugpack.require('Interface');
//-------------------------------------------------------------------------------
// Interface
//-------------------------------------------------------------------------------
/**
* @interface
*/
var ICondition = Interface.declare({
_name: "ICondition",
//-------------------------------------------------------------------------------
// Interface Methods
//-------------------------------------------------------------------------------
/**
* @param {Object} value
* @return {boolean}
*/
check: function(value) {}
});
//-------------------------------------------------------------------------------
// Exports
//-------------------------------------------------------------------------------
bugpack.export('ICondition', ICondition);
});